# Maintainer: Hugo Osvaldo Barrera <hugo@whynothugo.nl>
pkgname=himitsu-git
_commit=3e6d6786cb74f985a671040a6f506be3306e6042
pkgver=0.1.0_git20231204
pkgrel=0
pkgdesc="git-credential integration for Himitsu"
url="https://himitsustore.org"
arch="x86_64 aarch64" # Hare
license="GPL-3.0-only"
depends="himitsu"
makedepends="hare scdoc himitsu-dev"
source="
	$pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/himitsu-git/archive/$_commit.tar.gz
	"
options="!check"
builddir="$srcdir/$pkgname-$_commit"

build() {
	make -j1 PREFIX=/usr
}

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr install
}

sha512sums="
0e380d2197d93a4f224ece66fc23e9ca474cdc33a103a71cb9764b50100b4712c4ab765741f24b77f1a7adb012210c006b875a6e01771cc9dcbcadcbfe48a1de  himitsu-git-0.1.0_git20231204.tar.gz
"
